package com.swy.shopgroup.dao;

import com.swy.shopgroup.entity.ShopInfo;
import java.util.List;

public interface ShopInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShopInfo record);

    ShopInfo selectByPrimaryKey(Long id);

    ShopInfo selectByUser(Long id);

    List<ShopInfo> selectAll();

    List<ShopInfo> selectShopByState(int state);

    int updateByPrimaryKey(ShopInfo record);
}